


{extend name='Index/base'  /}



{block name="content"}




    <div class="card">
        <div class="card-header">
            用户注册
        </div>
        {if condition="isset($error)"}
        <div class="alert alert-warning alert-dismissible fade show" role="alert">
            <button type="button" class="close" data-dismiss="alert" aria-label="Close">
                <span aria-hidden="true">&times;</span>
            </button>
            <strong>{$error}</strong>
        </div>
        {/if}
        <form action="{:url('/User')}" method="post">
            {:token()}
        <div class="card-body">
            <div class="form-group">
                <label for="">用户名</label>
                <input type="text"
                       class="form-control" name="name" id="name" aria-describedby="helpId" placeholder="">
            </div>
            <div class="form-group">
                <label for="">邮箱</label>
                <input type="text"
                       class="form-control" name="email" id="email" aria-describedby="helpId" placeholder="">
            </div>
            <div class="form-group">
                <label for="">密码</label>
                <input type="text"
                       class="form-control" name="password" id="password" aria-describedby="helpId" placeholder="">
            </div>
<!--            <div class="form-group">-->
<!--                <label for="">确认密码</label>-->
<!--                <input type="text"-->
<!--                       class="form-control" name="repasseord" id="repasseord" aria-describedby="helpId" placeholder="">-->
<!--            </div>-->

        </div>
        <div class="card-footer text-muted">
            <button type="submit" class="btn btn-success">注册</button>
        </div>
        </form>
    </div>





{/block}